package com.twetec.cms.model.vo.information;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;

public class ColumnVO extends WebsiteColumnVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id", example = "12345646546")
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "站点id", example = "12345646546")
    private Long WebsiteId;

    @ApiModelProperty(value = "站点名称", example = "厦门市总工会")
    private String WebsiteTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "列表pc模板id", example = "12345646546")
    private Long pcListTemplateId;

    @ApiModelProperty(value = "列表pc模板名称", example = "1")
    private String pcListTemplateTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "列表h5模板id", example = "12345646546")
    private Long h5ListTemplateId;

    @ApiModelProperty(value = "列表h5模板名称", example = "1")
    private String h5ListTemplateTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "内容pc模板id", example = "12345646546")
    private Long pcContentTemplateId;

    @ApiModelProperty(value = "内容pc模板名称", example = "1")
    private String pcContentTemplateTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "内容h5模板id", example = "12345646546")
    private Long h5ContentTemplateId;

    @ApiModelProperty(value = "内容h5模板名称", example = "1")
    private String h5ContentTemplateTitle;

    @ApiModelProperty(value = "是否审核 0不需要 1需要", example = "1")
    private Integer isVerify;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "栏目id", example = "1231412412")
    private Long columnId;

    @ApiModelProperty(value = "栏目名称", example = "栏目1")
    private String ColumnName;

    @ApiModelProperty(value = "引用发布配置 0新稿(引用后需手动发布) 1发布(引用后自动发布)", example = "1")
    private Integer quotePublishSetting;

    @ApiModelProperty(value = "复制发布配置 0新稿(引用后需手动发布) 1发布(引用后自动发布)", example = "1")
    private Integer copyPublishSetting;

    @ApiModelProperty(value = "扩展字段json", example = "[{\"field1\":\"111111\",\"field2\":\"22222\",\"field3\":\"333333\"}]")
    private String fieldListJson;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public Long getWebsiteId() {
        return WebsiteId;
    }

    public void setWebsiteId(Long websiteId) {
        WebsiteId = websiteId;
    }

    public String getWebsiteTitle() {
        return WebsiteTitle;
    }

    public void setWebsiteTitle(String websiteTitle) {
        WebsiteTitle = websiteTitle;
    }

    public Long getPcListTemplateId() {
        return pcListTemplateId;
    }

    public void setPcListTemplateId(Long pcListTemplateId) {
        this.pcListTemplateId = pcListTemplateId;
    }

    public String getPcListTemplateTitle() {
        return pcListTemplateTitle;
    }

    public void setPcListTemplateTitle(String pcListTemplateTitle) {
        this.pcListTemplateTitle = pcListTemplateTitle;
    }

    public Long getH5ListTemplateId() {
        return h5ListTemplateId;
    }

    public void setH5ListTemplateId(Long h5ListTemplateId) {
        this.h5ListTemplateId = h5ListTemplateId;
    }

    public String getH5ListTemplateTitle() {
        return h5ListTemplateTitle;
    }

    public void setH5ListTemplateTitle(String h5ListTemplateTitle) {
        this.h5ListTemplateTitle = h5ListTemplateTitle;
    }

    public Long getPcContentTemplateId() {
        return pcContentTemplateId;
    }

    public void setPcContentTemplateId(Long pcContentTemplateId) {
        this.pcContentTemplateId = pcContentTemplateId;
    }

    public String getPcContentTemplateTitle() {
        return pcContentTemplateTitle;
    }

    public void setPcContentTemplateTitle(String pcContentTemplateTitle) {
        this.pcContentTemplateTitle = pcContentTemplateTitle;
    }

    public Long getH5ContentTemplateId() {
        return h5ContentTemplateId;
    }

    public void setH5ContentTemplateId(Long h5ContentTemplateId) {
        this.h5ContentTemplateId = h5ContentTemplateId;
    }

    public String getH5ContentTemplateTitle() {
        return h5ContentTemplateTitle;
    }

    public void setH5ContentTemplateTitle(String h5ContentTemplateTitle) {
        this.h5ContentTemplateTitle = h5ContentTemplateTitle;
    }

    public Integer getIsVerify() {
        return isVerify;
    }

    public void setIsVerify(Integer isVerify) {
        this.isVerify = isVerify;
    }

    public Long getColumnId() {
        return columnId;
    }

    public void setColumnId(Long columnId) {
        this.columnId = columnId;
    }

    public String getColumnName() {
        return ColumnName;
    }

    public void setColumnName(String columnName) {
        ColumnName = columnName;
    }

    public Integer getQuotePublishSetting() {
        return quotePublishSetting;
    }

    public void setQuotePublishSetting(Integer quotePublishSetting) {
        this.quotePublishSetting = quotePublishSetting;
    }

    public Integer getCopyPublishSetting() {
        return copyPublishSetting;
    }

    public void setCopyPublishSetting(Integer copyPublishSetting) {
        this.copyPublishSetting = copyPublishSetting;
    }

    public String getFieldListJson() {
        return fieldListJson;
    }

    public void setFieldListJson(String fieldListJson) {
        this.fieldListJson = fieldListJson;
    }

    @Override
    public String toString() {
        return "ColumnVO{" +
                "id=" + id +
                ", WebsiteId=" + WebsiteId +
                ", WebsiteTitle='" + WebsiteTitle + '\'' +
                ", pcListTemplateId=" + pcListTemplateId +
                ", pcListTemplateTitle='" + pcListTemplateTitle + '\'' +
                ", h5ListTemplateId=" + h5ListTemplateId +
                ", h5ListTemplateTitle='" + h5ListTemplateTitle + '\'' +
                ", pcContentTemplateId=" + pcContentTemplateId +
                ", pcContentTemplateTitle='" + pcContentTemplateTitle + '\'' +
                ", h5ContentTemplateId=" + h5ContentTemplateId +
                ", h5ContentTemplateTitle='" + h5ContentTemplateTitle + '\'' +
                ", isVerify=" + isVerify +
                ", columnId=" + columnId +
                ", ColumnName='" + ColumnName + '\'' +
                ", quotePublishSetting=" + quotePublishSetting +
                ", copyPublishSetting=" + copyPublishSetting +
                ", fieldListJson='" + fieldListJson + '\'' +
                '}';
    }
}
